package bean05;

class CollegeStudent extends Student implements LearnEnglish, LearnComputer {
    @Override
    public void learnEnglish() {
        System.out.println("大学生学习英语。");
    }

    @Override
    public void learnComputer() {
        System.out.println("大学生学习计算机。");
    }

    @Override
    public void study() {
        System.out.println("大学生进行专业学习。");
    }

    public static void testCollegeStudent() {
        CollegeStudent collegeStudent = new CollegeStudent();
        collegeStudent.study();
        collegeStudent.learnEnglish();
        collegeStudent.learnComputer();
    }
}